<?php 
	namespace app\courier\validate;

	use think\Validate;

	class Courier extends Validate
	{
	    protected $rule = [
	        'courier_name'  =>  'require|max:16',
	        'courier_password' =>  'require',
	        'captcha' => 'require|captcha'
	    ];

	    protected $message  =   [
        'courier_name.require' => '名称必须',
        'courier_name.max'     => '名称最多不能超过16个字符',
        'courier_password'        => '密码不能为空',
        'captcha'   => '验证码不正确',
   		 ];	
	}
 ?>